#!/bin/bash

cd ../ryuapp/

export PYTHONPATH='/home/yutao/Work/PyCharm/continuous-sdn'

PVALUE="0.5"

PREFIX="sequ-200"

DIRNAME='../eval/result/20180730'

python mocktest.py 0.2 0 > $DIRNAME/$PREFIX-$PVALUE-0.2.txt &
pid1=$!
python mocktest.py 0.4 0 > $DIRNAME/$PREFIX-$PVALUE-0.4.txt &
pid2=$!
python mocktest.py 0.6 0 > $DIRNAME/$PREFIX-$PVALUE-0.6.txt &
pid3=$!
python mocktest.py 0.8 0 > $DIRNAME/$PREFIX-$PVALUE-0.8.txt &
pid4=$!
python mocktest.py 1.0 0 > $DIRNAME/$PREFIX-$PVALUE-1.0.txt &
pid5=$!
python mocktest.py 1.2 0 > $DIRNAME/$PREFIX-$PVALUE-1.2.txt &
pid6=$!
python mocktest.py 1.4 0 > $DIRNAME/$PREFIX-$PVALUE-1.4.txt &
pid7=$!
python mocktest.py 1.6 0 > $DIRNAME/$PREFIX-$PVALUE-1.6.txt &
pid8=$!
python mocktest.py 1.8 0 > $DIRNAME/$PREFIX-$PVALUE-1.8.txt &
pid9=$!
python mocktest.py 2.0 0 > $DIRNAME/$PREFIX-$PVALUE-2.0.txt &
pid10=$!
wait $pid1
wait $pid2
wait $pid3
wait $pid4
wait $pid5
wait $pid6
wait $pid7
wait $pid8
wait $pid9
wait $pid10